Parameters
double maximum
The maximum value for the residual below which the calculation is considered converged.
int minimumIterationsBelowMaximum
The minimum number of iterations for which the residual has to be below the maximum before the calculation is considered converged.